package ynu.edu.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商家实体类，对应business表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Merchant implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 商家编号
     */
    private Integer businessId;
    
    /**
     * 商家名称
     */
    private String businessName;
    
    /**
     * 商家地址
     */
    private String businessAddress;
    
    /**
     * 商家介绍
     */
    private String businessExplain;
    
    /**
     * 商家图片（base64）
     */
    private String businessImg;
    
    /**
     * 点餐分类
     */
    private Integer orderTypeId;
    
    /**
     * 起送费
     */
    private BigDecimal starPrice;
    
    /**
     * 配送费
     */
    private BigDecimal deliveryPrice;
    
    /**
     * 备注
     */
    private String remarks;
}